﻿<UserControl x:Class="BizControl.Presentation.Infrastructure.Views.NavigationView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" >
    <StackPanel Orientation="Horizontal">
        <Image Width="25" Height="25" 
               HorizontalAlignment="Left" VerticalAlignment="Center"
               Source="{Binding ImagePath}" Margin="2" />
        <TextBlock Margin="2" HorizontalAlignment="Left" VerticalAlignment="Center">
            <Hyperlink Command="{Binding NavigateCommand}">
                <TextBlock Text="{Binding Text}" />
            </Hyperlink>
        </TextBlock>
    </StackPanel>
</UserControl>
